<div id='toolbar1' class='flexpaper_toolbar flexpaper_toolbarstd'>
    <img src='images/print-icon.gif' class='flexpaper_tbbutton flexpaper_bttnPrint' title='Print' alt='Print' onclick='$FlexPaper("documentViewer").printPaper();' />
    <img src='images/bar.gif' class='flexpaper_tbseparator' alt='' />
    <img src='images/singlepage.gif' border='0' class='flexpaper_bttnSinglePage flexpaper_tbbutton_pressed flexpaper_tbbutton flexpaper_tbbutton_viewmode flexpaper_viewmode' onclick='$FlexPaper("documentViewer").switchMode("Portrait")' title='Single Page' alt='Single Page' />
    <img src='images/twopage.gif' border='0' class='flexpaper_bttnTwoPage flexpaper_tbbutton flexpaper_tbbutton_viewmode flexpaper_viewmode' title='Two Pages' alt='Two Pages' onclick='$FlexPaper("documentViewer").switchMode("TwoPage")'  />
    <img src='images/thumbs.gif' border='0' class='flexpaper_bttnThumbView flexpaper_tbbutton flexpaper_tbbutton_viewmode flexpaper_viewmode' title='Thumb View' alt='Thumb View' onclick='$FlexPaper("documentViewer").switchMode("Tile")'  />
    <img src='images/fit.gif' class='flexpaper_bttnFitWidth flexpaper_tbbutton flexpaper_tbbutton_fitmode flexpaper_fitmode' title='Fit Width' alt='Fit Width' onclick='$FlexPaper("documentViewer").fitWidth()'  />
    <img src='images/pagefit.gif' class='flexpaper_bttnFitHeight flexpaper_tbbutton flexpaper_tbbutton_fitmode flexpaper_fitmode' title='Fit Page' alt='Fit Page' onclick='$FlexPaper("documentViewer").fitHeight()'  />
    <img src='images/flip.gif' class='flexpaper_tbbutton' title='Rotate' alt='Rotate' onclick='$FlexPaper("documentViewer").rotate()'  />
    <img src='images/bar.gif' class='flexpaper_tbseparator' alt='' />
    <div class='flexpaper_slider flexpaper_zoomSlider'><div class='flexpaper_handle'></div></div>
    <input type='text' class='flexpaper_tbtextinput flexpaper_txtZoomFactor' style='width:36px;' />
    <img src='images/fullscreen.gif' class='flexpaper_bttnFullScreen flexpaper_tbbutton' title='Fullscreen' alt='Fullscreen' onclick='jQuery("#documentViewer").showFullScreen();'  />
    <img src='images/bar.gif' class='flexpaper_tbseparator' alt='' />
    <img src='images/icon-arrow-left.gif' class='flexpaper_bttnPrevPage flexpaper_tbbutton' onclick='$FlexPaper("documentViewer").prevPage()' title='Previous Page' alt='Previous Page'/>
    <input type='text' class='flexpaper_txtPageNumber flexpaper_tbtextinput' style='width:36px;' />
    <div class='flexpaper_lblTotalPages flexpaper_tblabel'> / </div>
    <img src='images/icon-arrow-right.gif' class='flexpaper_bttnPrevNext flexpaper_tbbutton' onclick='$FlexPaper("documentViewer").nextPage()' title='Next Page' alt='Next Page'/>
    <img src='images/bar.gif' class='flexpaper_tbseparator' alt='' />
    <img src='images/textselect.gif' class='flexpaper_bttnTextSelect flexpaper_tbbutton' title='Select Text' alt='Select Text' onclick="$FlexPaper('documentViewer').setCurrentCursor('TextSelectorCursor')"/>
    <img src='images/hand2.gif' class='flexpaper_bttnHand flexpaper_tbbutton flexpaper_tbbutton_pressed' title='Drag Cursor' alt='Drag Cursor'  onclick="$FlexPaper('documentViewer').setCurrentCursor('ArrowCursor')"/>
    <img src='images/bar.gif' class='flexpaper_tbseparator' alt='' />
    <input type='text' class='flexpaper_txtSearch flexpaper_tbtextinput' style='width:56px;margin-left:4px;' />
    <img src='images/find.gif' class='flexpaper_bttnTextSearch flexpaper_tbbutton' onclick='$FlexPaper("documentViewer").searchText(jQuery(this).parent().find(".flexpaper_txtSearch").val());' title='Search' alt='Search'/>
    <img src='images/bar.gif' class='flexpaper_tbseparator' alt='' />
    <img src='images/loader.gif' class='flexpaper_progress flexpaper_tbloader' alt='' />
</div>

<script language="javascript">
    // adjust IE 7 and below for textbox input size
    var userAgent   = navigator.userAgent.toLowerCase();
    var ismsie      = /msie/.test(userAgent) && !/opera/.test(userAgent);
    var browser_v   = (userAgent.match(/.+?(?:rv|it|ra|ie)[\/: ]([\d.]+)(?!.+opera)/) || [])[1];

    if(ismsie && browser_v < 8){
        jQuery('.flexpaper_tbtextinput').css('height','12px');
    }
</script>